Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Socketioxide v0.13.0 #318

Merged
merged 1 commit into from
May 6, 2024
Merged

Socketioxide v0.13.0 #318

merged 1 commit into from
May 6, 2024

Conversation

Totodore
Copy link
Owner

@Totodore Totodore commented May 6, 2024

0.13.0

socketioxide

  • fix: issue delete_ns blocks thread indefinitely #311, the delete_ns fn was deadlocking the entire server when called from inside a disconnec_handler.
  • feat: the delete_ns is now gracefully closing the adapter as well as all its sockets before being removed.
  • feat: the API use Bytes rather than Vec<u8> to represent binary payloads. This allow to avoid unnecessary copies.
  • deps: use futures-util and futures-core rather than the whole futures crate.

engineioxide

  • feat: the API use Bytes/Str rather than Vec<u8> and String to represent payloads. This allow to avoid unnecessary copies.
  • deps: use futures-util and futures-core rather than the whole futures crate.

@Totodore Totodore enabled auto-merge (squash) May 6, 2024 18:51
@Totodore Totodore merged commit 94f4646 into main May 6, 2024
20 checks passed
Copy link

github-actions bot commented May 6, 2024

🐰Bencher

ReportMon, May 6, 2024 at 18:50:51 UTC
ProjectSocketioxide
Branchrelease/v0.13.0
Testbedubuntu-latest

⚠️ WARNING: The following Measure does not have a Threshold. Without a Threshold, no Alerts will ever be generated!

  • Latency (latency)

Click here to create a new Threshold
For more information, see the Threshold documentation.
To only post results if a Threshold exists, set the --ci-only-thresholds CLI flag.

Click to view all benchmark results
BenchmarkLatencyLatency Results
nanoseconds (ns)
engineio_packet/decode/Decode packet binary b64➖ (view plot)84.31
engineio_packet/decode/Decode packet message➖ (view plot)46.71
engineio_packet/decode/Decode packet noop➖ (view plot)35.23
engineio_packet/decode/Decode packet ping/pong➖ (view plot)31.41
engineio_packet/decode/Decode packet ping/pong upgrade➖ (view plot)35.45
engineio_packet/encode/Encode packet binary b64➖ (view plot)56.53
engineio_packet/encode/Encode packet message➖ (view plot)31.43
engineio_packet/encode/Encode packet noop➖ (view plot)30.96
engineio_packet/encode/Encode packet open➖ (view plot)289.49
engineio_packet/encode/Encode packet ping/pong➖ (view plot)30.36
engineio_packet/encode/Encode packet ping/pong upgrade➖ (view plot)30.43
extensions/concurrent_get➖ (view plot)26.36
extensions/concurrent_get_inserts➖ (view plot)29.34
extensions/concurrent_inserts➖ (view plot)23.00
socketio_packet/decode/Decode packet ack on /➖ (view plot)274.03
socketio_packet/decode/Decode packet ack on /custom_nsp➖ (view plot)297.15
socketio_packet/decode/Decode packet binary ack (b64) on /➖ (view plot)472.78
socketio_packet/decode/Decode packet binary ack (b64) on /custom_nsp➖ (view plot)506.65
socketio_packet/decode/Decode packet binary event (b64) on /➖ (view plot)569.98
socketio_packet/decode/Decode packet binary event (b64) on /custom_nsp➖ (view plot)578.59
socketio_packet/decode/Decode packet connect on /➖ (view plot)62.22
socketio_packet/decode/Decode packet connect on /custom_nsp➖ (view plot)76.61
socketio_packet/decode/Decode packet event on /➖ (view plot)344.27
socketio_packet/decode/Decode packet event on /custom_nsp➖ (view plot)360.34
socketio_packet/decode/Decode packet event with ack on /➖ (view plot)342.65
socketio_packet/decode/Decode packet event with ack on /custom_nsp➖ (view plot)365.04
socketio_packet/encode/Encode packet ack on /➖ (view plot)123.46
socketio_packet/encode/Encode packet ack on /custom_nsp➖ (view plot)127.13
socketio_packet/encode/Encode packet binary ack (b64) on /➖ (view plot)308.73
socketio_packet/encode/Encode packet binary ack (b64) on /custom_nsp➖ (view plot)310.85
socketio_packet/encode/Encode packet binary event (b64) on /➖ (view plot)405.26
socketio_packet/encode/Encode packet binary event (b64) on /custom_nsp➖ (view plot)418.20
socketio_packet/encode/Encode packet connect on /➖ (view plot)53.23
socketio_packet/encode/Encode packet connect on /custom_nsp➖ (view plot)55.68
socketio_packet/encode/Encode packet event on /➖ (view plot)127.37
socketio_packet/encode/Encode packet event on /custom_nsp➖ (view plot)131.39
socketio_packet/encode/Encode packet event with ack on /➖ (view plot)127.89
socketio_packet/encode/Encode packet event with ack on /custom_nsp➖ (view plot)130.94

Bencher - Continuous Benchmarking
View Public Perf Page
Docs | Repo | Chat | Help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant